from django.urls import re_path
from . import views

urlpatterns = [
    # 添加订单&获取订单列表
    re_path('^orders$', views.AddOrdersView.as_view()),

    # 接单拒单
    re_path('^orders/(?P<order_id>\d+)/status$', views.UpOrdersView.as_view()),

    # 评价订单
    re_path('^orders/(?P<order_id>\d+)/comment$', views.OrderCommentView.as_view()),

]